Multiplication Algorithm of Large Integers using Finite Discrete Convolution
نویسنده
چکیده
Several existing algorithms for multiplication of large integers are discussed, and a highly efficient algorithm based on finite discrete convolution is introduced. In the new algorithm, large integers are split into many digits and stored in arrays, every item in array stands for every digit of large integer. In this way, the integer can be any large; the only limit is the memory of computer. The result of finite discrete convolution of the sequence of large integers needs a simple process to become the multiplication result of large integers, which is similar to FFT based algorithm. When processing large integers less than 150 digits, the time cost is less than 1 millisecond. When the large integer is larger than 300 digits, the time cost is only about 3 milliseconds. Even when the original integers become nearly 50000 digits long, the multiplication only needs about 40 seconds. In application, such integers are large enough to process most cases. Algorithm analysis and lots of experimental results show that this algorithm based on finite discrete convolution is much more efficient and is of great significance. More important, it points out a new research direction of finite discrete convolution.
منابع مشابه
Large Integer Multiplication on Massively Parallel Processors
We present results of a technique for multiplying large integers using the Fermat Number Transform. When the Fermat Number Transform was first proposed, word length constraints limited its effectiveness. Despite the development of multidimensional techniques to extend the length of the FNT, the relatively small word length of existing machines made the transform of little more than academic int...
متن کاملComputational Complexity of Fourier Transforms Over Finite Fields*
In this paper we describe a method for computing the Discrete Fourier Transform (DFT) of a sequence of n elements over a finite field GF(pm) with a number of bit operations 0(nm log(nm) ■ P(q)) where P(q) is the number of bit operations required to multiply two q-bit integers and q = 2 log2« + 4 log2m + 4 log2p. This method is uniformly applicable to all instances and its order of complexity is...
متن کاملFpga Based Implementation of 16-bit Multiplier- Accumulator Using Radix2 Modified Booth Algorithm and Spst Adder Using Verilog
In this paper, we proposed a new architecture of multiplier-and-accumulator (MAC) for high-speed arithmetic and low power. Multiplication occurs frequently in finite impulse response filters, fast Fourier transforms, discrete cosine transforms, convolution, and other important DSP and multimedia kernels. The objective of a good multiplier and accumulator (MAC) is to provide a physically compact...
متن کاملMontgomery Multiplication in GF ( 2 k )
We show that the multiplication operation c = a · b · r −1 in the field GF(2 k) can be implemented significantly faster in software than the standard multiplication, where r is a special fixed element of the field. This operation is the finite field analogue of the Montgomery multiplication for modular multiplication of integers. We give the bit-level and word-level algorithms for computing the...
متن کاملA Discrete Singular Convolution Method for the Seepage Analysis in Porous Media with Irregular Geometry
A novel discrete singular convolution (DSC) formulation is presented for the seepage analysis in irregular geometric porous media. The DSC is a new promising numerical approach which has been recently applied to solve several engineering problems. For a medium with regular geometry, realizing of the DSC for the seepage analysis is straight forward. But DSC implementation for a medium with ir...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2011